<!--
 * @Author: 十二 1725060993@qq.com
 * @Date: 2024-03-22 21:52:59
 * @LastEditors: 十二 1725060993@qq.com
 * @LastEditTime: 2024-04-11 15:18:11
 * @FilePath: \01-Fundamentals-Part-1\final\index.html
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <meta http-equiv="X-UA-Compatible" content="ie=edge" />
  <title>JavaScript Fundamentals – Part 1</title>
  <style>
    body {
      height: 100vh;
      display: flex;
      align-items: center;
      background: linear-gradient(to top left, #28b487, #7dd56f);
    }

    h1 {
      font-family: sans-serif;
      font-size: 50px;
      line-height: 1.3;
      width: 100%;
      padding: 30px;
      text-align: center;
      color: white;
    }
  </style>
</head>


<body>

  <script>
    //模板字符串可以解决换行，加入变量的问题
    let name = 'lijingjing';
    console.log(`my name is ${name}!`);
    let number = prompt("请输入一个数字");
    if (number === 23) {
      console.log('number is  strictly equal to 23')
    } else if (number !== 23) {
      console.log('number is not strictly equal to 23')
    }
  </script>


  <h1>JavaScript Fundamentals – Part 1</h1>

  <script src="script.js"></script>
</body>

</html>